<?php
/**
 * Comment form
 *
 * @version $Id: Comment.php 73 2010-04-25 00:30:44Z yingkuang.chen@gmail.com $
 * @license New BSD License
 * @uses Zend_Form
 * @package score
 * @subpackage Form
 */
class Score_Form_Comment extends Sfs_Form
{

    /**
     * initialization routine
     *
     * @return void
     */
    public function init()
    {
        $this->setMethod('post');
        //        $this->addElement('text', 'sn', array(
        //            'label'      => 'sn',
        //            'required'   => true,
        //            'filters'    => array('StringTrim'),
        //        //  'validators' => array()
        //            )
        //        );
        $this->addElement('text', 'subject_name', array(
            'label'      => 'subject_name',
            'required'   => false,
            'filters'    => array('StringTrim'),
        //  'validators' => array()
        )
        );
        $this->addElement('text', 'kind_sn', array(
            'label'      => 'kind_sn',
            'required'   => true,
            'filters'    => array('StringTrim'),
        'validators' => array('int')
        )
        );
        $this->addElement('text', 'level_sn', array(
            'label'      => 'level_sn',
            'required'   => true,
            'filters'    => array('StringTrim'),
        'validators' => array('int')
        )
        );
        $this->addElement('text', 'properey', array(
            'label'      => 'properey',
            'required'   => false,
            'filters'    => array('StringTrim'),
        //  'validators' => array()
        )
        );
        $this->addElement('text', 'text', array(
            'label'      => 'text',
            'required'   => true,
            'filters'    => array('StringTrim'),
        )
        );
        $this->addElement('text', 'teacher_sn', array(
            'label'      => 'teacher_sn',
            'required'   => true,
            'filters'    => array('StringTrim'),
        //  'validators' => array()
        )
        );
    }


}
